package com.zjmzxfzhl.modules.app.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zjmzxfzhl.common.core.base.BaseEntity;
import com.zjmzxfzhl.common.core.validator.constraints.LengthForUtf8;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * 【】实体类
 * 
 * @author 张森荣
 */
@Data
@TableName("T_APP_LOG")
public class AppLog extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId
    @NotNull
    @LengthForUtf8(max = 32)
    private String logId;

    /**
     * 记录类型
     */
    @NotNull
    @LengthForUtf8(max = 2)
    private String logType;

    /**
     * 记录类型ID
     */
    @NotNull
    @LengthForUtf8(max = 32)
    private String logTypeId;

    /**
     * 记录说明
     */
    @NotNull
    private String content;

}